using System;
using CBase;

public class Draw
{
    static void Main()
    {
        CColor cc = new CColor(33, 66, 99);
        CPoint cp = new CPoint();

        
        
        Console.WriteLine("PointXY init is ({0}, {1})", cp.PointX, cp.PointY);
        cp.MoveTo(50, 100);
        Console.WriteLine("PointXY has been moved to ({0}, {1})", cp.PointX, cp.PointY);
        cp.MoveBy(30, 10);
        Console.WriteLine("PointXY has been moved to ({0}, {1})", cp.PointX, cp.PointY);

        Console.WriteLine("Point init color is {0}", cp.GetColor());
        cp.ResetColor(10, 20, 30);
        Console.WriteLine("Point reset color is {0}", cp.GetColor());
        cp.CleanColor();
        Console.WriteLine("Point cleaned color is {0}", cp.GetColor());
        
        Console.WriteLine("Fixed init color is {0}", cc.GetColor());
        cc.CleanColor();
        Console.WriteLine("Fixed cleaned color is {0}", cc.GetColor());
        cc.ResetColor(20, 30, 40);
        Console.WriteLine("Fixed reset color is {0}", cc.GetColor());

        Console.ReadLine();
    }
}